An Efficient Method of Indexing All Topological Orders for a Given DAG
نویسندگان
چکیده
Topological orders of a directed graph are an important concept of graph algorithms. The generation of topological orders is useful for designing graph algorithms and solving scheduling problems. In this paper, we generate and index all topological orders of a given graph. Since topological orders are permutations of vertices, we can use the data structure πDD, which generates and indexes a set of permutations. In this paper, we propose Rot-πDDs, which are a variation of πDDs based on a different interpretation. Compression ratios of Rot-πDDs for representing topological orders are theoretically improved from the original πDDs. We propose an efficient method for constructing a Rot-πDD based on dynamic programming approach. Computational experiments show the amazing efficiencies of a Rot-πDD: a Rot-πDD for 3.7× 10 topological orders has only 2.2× 10 nodes and is constructed in 36 seconds. In addition, the indexed structure of a Rot-πDD allows us to fast post-process such as edge addition and random samplings.
منابع مشابه
Reversal distance for partially ordered genomes
MOTIVATION The total order of the genes or markers on a chromosome inherent in its representation as a signed per-mutation must often be weakened to a partial order in the case of real data. This is due to lack of resolution (where several genes are mapped to the same chromosomal position) to missing data from some of the datasets used to compile a gene order, and to conflicts between these dat...
متن کاملVoting and different ranking orders in DEA
Data Envelopment Analysis (DEA) technique now widely use for efficiency evaluation of a set of Decision Making Units (DMUs). As regards of the necessity for ranking efficient units different DEA models presented each of which has advantages and rank efficient units from special aspects. Note that all the existing ranking models have disadvantages, as well and there is not a model in which all t...
متن کاملAn efficient method for the numerical solution of functional integral equations
We propose an efficient mesh-less method for functional integral equations. Its convergence analysis has been provided. It is tested via a few numerical experiments which show the efficiency and applicability of the proposed method. Attractive numerical results have been obtained.
متن کاملContent Based Radiographic Images Indexing and Retrieval Using Pattern Orientation Histogram
Introduction: Content Based Image Retrieval (CBIR) is a method of image searching and retrieval in a database. In medical applications, CBIR is a tool used by physicians to compare the previous and current medical images associated with patients pathological conditions. As the volume of pictorial information stored in medical image databases is in progress, efficient image indexing and retri...
متن کاملZINC: Efficient Indexing for Skyline Computation
We present a new indexing method named ZINC (for Z-order Indexing with Nested Code) that supports efficient skyline computation for data with both totally and partially ordered attribute domains. The key innovation in ZINC is based on combining the strengths of the ZB-tree, which is the state-of-the-art index method for computing skylines involving totally ordered domains, with a novel, nested ...
متن کامل